package org.openurp.edu.student.info.web.action


import org.beangle.webmvc.entity.action.RestfulAction
import org.openurp.edu.student.info.model.Example
import org.openurp.edu.student.info.model.Division
import org.openurp.edu.student.info.model.ProjectType2
import org.openurp.edu.student.info.model.Level
import org.openurp.edu.student.info.model.Budget
import org.openurp.edu.student.info.model.EvaulationType


/**
 * @author hjc
 */
class ExampleAction extends RestfulAction[Example] {
  
 protected override def editSetting(entity: Example): Unit = {
    put ("divisions", entityDao.getAll(classOf[Division]))
    put ("evaulationtypes", entityDao.getAll(classOf[EvaulationType]))
     put ("levels", entityDao.getAll(classOf[Level]))
      put ("budgets", entityDao.getAll(classOf[Budget]))
       put ("projecttype2s", entityDao.getAll(classOf[ProjectType2]))
   }
 

}

